<?php


namespace app\admin\controller;

use app\library\traits\CommonController;

class BaseController
{
    use CommonController;

    public function __construct()
    {
        $this->_initialize();
    }

    protected function _initialize()
    {
        $this->page =input('page',1);
        $this->count=input('count',10);
        $this->from=($this->page-1)*$this->count;
    }
}